package com.zb.jsp.service;

import java.util.List;

import com.zb.jsp.dao.CommonDao;
import com.zb.jsp.vo.commonVo.AdvertAddressNameVo;
import com.zb.jsp.vo.commonVo.AdvertTypeVo;

public class AdvertTypeService {

	CommonDao commonDao = new CommonDao();
	
	/**	
	 * 查询广告类型信息
	 * @return List<AdvertTypeVo>返回查询结果
	 */
	public List<AdvertTypeVo> fidAdvertTypeList() {
		return commonDao.fidAdvertTypeList();
	}
	
	/**	
	 * 查询广告所属的广告位名称
	 * @return advertAddressNameVoList 广告所属的广告位id和name
	 */
	public List<AdvertAddressNameVo> findAdvertAddressNameList() {
		return commonDao.findAdvertAddressNameList();	
	}
}
